projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
745575f
)
(Fformat): Don't include string padding
author
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Oct 2005 16:26:45 +0000
(16:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Oct 2005 16:26:45 +0000
(16:26 +0000)
between info[n].start and info[n].end.
src/editfns.c
patch
|
blob
|
history
diff --git
a/src/editfns.c
b/src/editfns.c
index e7b152726e363c3fc31037eb2b71d7c22d0f4d12..5605a25bdd2ec6561c076b11d466ba4e98dd04d8 100644
(file)
--- a/
src/editfns.c
+++ b/
src/editfns.c
@@
-3662,7
+3662,7
@@
usage: (format STRING &rest OBJECTS) */)
++nchars;
}
- start = nchars;
+
info[n].start =
start = nchars;
nchars += nchars_string;
end = nchars;
@@
-3677,6
+3677,8
@@
usage: (format STRING &rest OBJECTS) */)
nbytes,
STRING_MULTIBYTE (args[n]), multibyte);
+ info[n].end = nchars;
+
if (negative)
while (padding-- > 0)
{
@@
-3713,9
+3715,9
@@
usage: (format STRING &rest OBJECTS) */)
else
p += this_nchars;
nchars += this_nchars;
+ info[n].end = nchars;
}
- info[n].end = nchars;
}
else if (STRING_MULTIBYTE (args[0]))
{